cc=arm-linux-gnueabihf-gcc

all:sysconfig.cgi appconfig.cgi devinfo.cgi

sysconfig.cgi:sysconfig.c cgic.c cgic.h
	$(cc) -o sysconfig.cgi cgic.c sysconfig.c

appconfig.cgi:appconfig.c cgic.c cgic.h
	$(cc) -o appconfig.cgi cgic.c appconfig.c

devinfo.cgi:devinfo.c cgic.c cgic.h
	$(cc) -o devinfo.cgi cgic.c devinfo.c

clean:
	rm -rf *.cgi
